package com.bidepan.spring6.di;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.awt.event.ActionListener;

public class Test {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("bean-resource.xml");
        ResourceBean bean = context.getBean("resourceBean", ResourceBean.class);
        bean.parse();
    }
}
